package com.tedu.dao;
import com.tedu.pojo.Addr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
/**
 * (Addr)表数据库访问层
 */
public interface AddrDao {
    @Select("select * from addr where id=#{id}")
    List<Addr> selectById(Integer id);

    List<Addr> selectAddr(Addr addr);

    int insert(Addr addr);

    int update(Addr addr);

    int deleteById(Integer id);

}
